# To change this template, choose Tools | Templates
# and open the template in the editor.

module ExamenesHelper

  def con_color?(parametro,opts={})
    opts[:valor]||=nil
    color= opts[:color].blank? ? "red" : opts[:color]
    opts[:valor] = opts[:valor].blank? ? sino(!parametro.blank?) : opts[:valor]
    html=<<HTML
    style="color:#{color}"
HTML
    h= parametro ? html : ""
  end



end
